
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 FmsSpecificationConfig 分页列表
*/
export function getFmsSpecificationConfigPagination(data: any) {
  return axios.get(`${context}/fmsSpecificationConfig/pagination`, { params: data });
}


/**
 * 获取 FmsSpecificationConfig 所有数据
*/
export function getFmsSpecificationConfigAllList(data: any) {
  return axios.get(`${context}/fmsSpecificationConfig/all`, { params: data });
}


/**
 * 获取 FmsSpecificationConfig 详情
*/
export function getFmsSpecificationConfigDetailById(id: any) {
  return axios.get(`${context}/fmsSpecificationConfig/${id}`, { params:{id} });
}


/**
 * 新增 FmsSpecificationConfig
*/
export function addFmsSpecificationConfig(data: any) {
  return axios.post(`${context}/fmsSpecificationConfig`, data);
}

/**
 * 修改 FmsSpecificationConfig
*/
export function updateFmsSpecificationConfig(data: any) {
  return axios.put(`${context}/fmsSpecificationConfig`, data);
}

/**
 * 删除 FmsSpecificationConfig
*/
export function batchRemoveFmsSpecificationConfig(data: any) {
  return axios.post(`${context}/fmsSpecificationConfig/batchRemove`, data);
}

    